using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BotonJXC.Entity
{
	/// <summary>
	/// SettleAccounts
	/// </summary>
	public class SettleAccounts : BaseEntity
	{
		public SettleAccounts()
		{
			
		}
		
		public virtual int SettleAccId{ get; set; }
		public virtual string SettleAccSn{ get; set; }
		public virtual DateTime? CreateTime{ get; set; }
		public virtual Account Creater { get; set; }
		public virtual string Salesman{ get; set; }
		public virtual Store Store{ get; set; }
		public virtual Supplier Supplier { get; set; }
		public virtual DateTime? StartDate{ get; set; }
		public virtual DateTime? ExpiryDate{ get; set; }
		public virtual Payment PayType { get; set; }
		public virtual string InvoiceSn{ get; set; }
		public virtual double TaxRate{ get; set; }
		public virtual string UrgentLevel{ get; set; }
		public virtual ContractManager Contract { get; set; }
		public virtual double ContractAmount{ get; set; }
		public virtual double AmountPaid{ get; set; }
		public virtual double CperiodPayable{ get; set; }
		public virtual double CurPerDeduct{ get; set; }
		public virtual double CurPerReal{ get; set; }
		public virtual Int16? Status{ get; set; }
		public virtual Account StatusOperater{ get; set; }
		public virtual DateTime? StatusTime{ get; set; }
		public virtual string StatusRemark{ get; set; }
		public virtual Int16? Status2{ get; set; }
		public virtual Account StatusOperater2{ get; set; }
		public virtual DateTime? StatusTime2{ get; set; }
		public virtual string StatusRemark2{ get; set; }
		public virtual string Remark{ get; set; }
		public virtual Int32? PrintTime{ get; set; }
		/// <summary>
		/// 用于数据权限控制
		/// </summary>
		public virtual Int32? OrgId{ get; set; }
		public virtual Int32? OrgDepId{ get; set; }

		public virtual IList<SettleAccountsBills> Bills { get; set; }
	}
}

